﻿using System;
using UnityEngine;

namespace Core
{
    public class EffectInfo : IDisposable
    {
        public GameObject gameObject;
        public Timer timer;
        public void Dispose()
        {
            timer?.Stop();
            timer = null;
            GameObject.Destroy(gameObject);
        }
    }
}